<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>Title</title>
    <link rel="stylesheet" href="../../../static/css/layui.css" th:href="@{/css/layui.css}"/>

</head>
<body class="childrenBody" style="margin: 20px">
<form class="layui-form">

    <div class="layui-form-item">
        <label class="layui-form-label">用户名：</label>
        <div class="layui-input-block">
            <input type="text" name="uname"  class="layui-input ContactAlias"
                   lay-verify="required" placeholder="请输入用户名">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">账号：</label>
        <div class="layui-input-block">
            <input type="text" name="ucode"  class="layui-input ContactAlias"
                   lay-verify="required" placeholder="请输入账号">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">密码：</label>
        <div class="layui-input-block">
            <input type="password" name="upassword"  class="layui-input ContactAlias"
                   lay-verify="required" placeholder="请输入密码">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">性别：</label>
        <div class="layui-input-block">
            <input type="radio" class="usex" name="usex" value="1" title="保密" th:checked="true">
            <input type="radio" class="usex" name="usex" value="2" title="男">
            <input type="radio" class="usex" name="usex" value="3" title="女">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline imgs">
            <label class="layui-form-label">头像：</label>
            <img style="width: 100px; height: 100px;" src="../../../static/imgs/moren.jpg" th:src="@{/imgs/moren.jpg}"/>
            <input name="uavatar" value="/imgs/moren.jpg" type="text" style="display: none">
        </div>
        <button type="button" class="layui-btn" id="img">
            <i class="layui-icon">&#xe67c;</i>上传图片
        </button>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">个性签名：</label>
        <div class="layui-input-block">
            <input type="text" name="usignature" class="layui-input ContactName"
                   lay-verify="required" placeholder="请输入帅气的个性签名">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">是否激活：</label>
            <div class="layui-input-inline activation">
                <input class="activation" name="ustatus" VALUE="2"
                       th:checked="true" id="jh" type="checkbox" lay-skin="switch" lay-filter="jh"
                       lay-text="开启|关闭">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">管理员分类</label>
            <div class="layui-input-block">
                <select name="uclassification" class="userGrade" lay-filter="userGrade">
                    <option value="1">超级管理员</option>
                    <option value="2" selected="selected">管理员</option>
                </select>
            </div>
        </div>
    </div>


    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">邮箱：</label>
            <div class="layui-input-inline">
                <input type="text" name="email"  class="layui-input ContactName"
                       lay-verify="required" placeholder="请输入邮箱">
            </div>
        </div>
    </div>


    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="addNew">立即提交
            </button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>

</form>
</body>
<script type="text/javascript" src="../../../static/layui.js" th:src="@{/layui.js}"></script>
<script type="text/javascript" src="../../../static/UserAll/add.js" th:src="@{/UserAll/add.js}"></script>
</html>